<!DOCTYPE html>
<html>

	<head>
		<meta charset="UTF-8">
		<title></title>
		<script src="vue.js"></script>
	</head>

	<body>
		<div id="app">
			<h2 v-text="msg">欢迎您</h2>
			<br />
			<div>{{msg}}</div>
			<br />
			<div v-html="msg"></div>
			<input type="button" value="按钮" v-bind:title="msg" />

			<!-- 文本框的初始值如何编写 -->
		</div>
	</body>
	<script>
		var vm = new Vue({
			el: "#app",
			data: {
				msg: '学校'
			}
		})
	</script>

</html>